import base from '@/api/base.js';
import http from '@/request/http.js';


const Flow = {
    flowStepDetail(body) {
        return http.post(`${base.context}/flow/flowStepDetail`, body);
    },
    listFlowStep(body) {
        return http.post(`${base.context}/flow/listFlowStep`, body);
    },
    toDoList(body) {
        return http.post(`${base.context}/flow/toDoList`, body);
    },
    listAllSystemFlow(body) {
        return http.post(`${base.context}/flow/listAllSystemFlow`, body);
    }
}

export default Flow;